import React from 'react';
import ReactDOM from 'react-dom';
import './index.css';
import * as serviceWorker from './serviceWorker';
import Router from './routers/router'

import { Provider } from 'react-redux'
import store from './redux/store'

// if (process.env.NODE_ENV === "development") {
//   console.log("开发模式下启用 Mock.js")
//   require('./mock/index');
// }

ReactDOM.render(
  <Provider store={store}>
      <Router />
  </Provider>,
  document.getElementById('root')
);

serviceWorker.unregister();
